package nccloud.utils.baseapp;

import nc.vo.pub.BusinessException;

public class ToolUtils {
	/**
	 * 判断当前属性是否为空
	 * @param attribute 需要判断的属性值
	 * @return  为空时，返回 "" ,否则返回当前属性值
	 * @throws BusinessException
	 */
	public static Object getJudgeAttribute(Object attribute) throws BusinessException{
		return attribute ==  null ? "": attribute;
	}
}
